package com.define.commons.common.utils;

import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 分页信息包装类
 * @Author xiewenlong
 * @Date 2018/11/13 11:50
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageInfo<T> implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long total;
    private Integer pages;
    private List<T> list;

}
